package org.zfes.snowier.cloud.zbss.cms.words.dao;
import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.zfes.snowier.common.dao.mybatis.BaseMapper;
import org.zfes.snowier.common.dao.params.ParamMap;
import org.zfes.snowier.cloud.zbss.cms.words.model.CmsWordsSearch;
import org.zfes.snowier.core.data.Record;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface CmsWordsSearchMapper extends BaseMapper<CmsWordsSearch>{
	
	Long selectListCount(ParamMap params);
	
	List<Record> selectMapListPage(ParamMap params);
	
	List<CmsWordsSearch> selectModelListPage(ParamMap params);
	
	CmsWordsSearch selectCmsWordsSearchByWords(String words);
	
	int updateStatus(@Param("id")Long id, @Param("status")Byte status,@Param("updateTime") Date updateTime);
}
